package variable

import "sync"

/**
定义一些全局变量此处
*/
var ClientEventHandlerInstance string = "ClientEventHandler"
var ServerEventHandlerInstance string = "ServerEventHandler"
var CurrentRunningTaskNum int = 0 //当前执行的任务节点数
var IsMaster bool = false         // 标识当前节点是否为主节点
var VoteCode int = 0
var VoteIsFinish bool = true   //选举是否结束
var ServerConnections sync.Map //当前连接的服务端
var ApplicationPath string = "/application/"
var RegisterTick int64 = 5 //定时注册主节点点前信息
var TASKINFOREPLACE string = `-|&|-`
var TASK_FORK_ERRNO = "500"
var K8S_HEAD_LESS_SERVICE = "k8sService"
